From 6a59751ba07bfd40ddccf48c384c5480387513a4 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 22 Mar 2006 10:04:43 -0700 Subject: [PATCH] [IA64] build xen_sysfs by default This works on xen/ia64 too, enable the code Signed-off-by: Alex Williamson --- buildconfigs/linux-defconfig_xen0_ia64 | 1 + buildconfigs/linux-defconfig_xenU_ia64 | 1 + linux-2.6-xen-sparse/arch/ia64/Kconfig | 7 +++++++ linux-2.6-xen-sparse/arch/ia64/xen/drivers/coreMakefile | 2 ++ 4 files changed, 11 insertions(+) diff --git a/buildconfigs/linux-defconfig_xen0_ia64 b/buildconfigs/linux-defconfig_xen0_ia64 index 0695c6b5e0..13466c6b42 100644 --- a/buildconfigs/linux-defconfig_xen0_ia64 +++ b/buildconfigs/linux-defconfig_xen0_ia64 @@ -97,6 +97,7 @@ CONFIG_XEN_BLKDEV_GRANT=y CONFIG_XEN_BLKDEV_FRONTEND=y CONFIG_XEN_VT=y CONFIG_VT=y +CONFIG_XEN_SYSFS=y CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y CONFIG_DMA_IS_DMA32=y # CONFIG_IA64_GENERIC is not set diff --git a/buildconfigs/linux-defconfig_xenU_ia64 b/buildconfigs/linux-defconfig_xenU_ia64 index 252a5c1233..ea85bd82f0 100644 --- a/buildconfigs/linux-defconfig_xenU_ia64 +++ b/buildconfigs/linux-defconfig_xenU_ia64 @@ -94,6 +94,7 @@ CONFIG_XEN_BLKDEV_GRANT=y CONFIG_XEN_BLKDEV_FRONTEND=y # CONFIG_XEN_VT is not set # CONFIG_VT is not set +CONFIG_XEN_SYSFS=y CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y CONFIG_DMA_IS_DMA32=y # CONFIG_IA64_GENERIC is not set diff --git a/linux-2.6-xen-sparse/arch/ia64/Kconfig b/linux-2.6-xen-sparse/arch/ia64/Kconfig index cea9e5cd22..3f6f2315ad 100644 --- a/linux-2.6-xen-sparse/arch/ia64/Kconfig +++ b/linux-2.6-xen-sparse/arch/ia64/Kconfig @@ -97,6 +97,13 @@ config VT help Hack to turn off CONFIG_VT for domU +config XEN_SYSFS + bool "Export Xen attributes in sysfs" + depends on XEN && SYSFS + default y + help + Xen hypervisor attributes will show up under /sys/hypervisor/. + config SCHED_NO_NO_OMIT_FRAME_POINTER bool default y diff --git a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/coreMakefile b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/coreMakefile index 40c4f13df8..7a35e75b42 100644 --- a/linux-2.6-xen-sparse/arch/ia64/xen/drivers/coreMakefile +++ b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/coreMakefile @@ -22,3 +22,5 @@ obj-y += reboot.o evtchn.o fixup.o obj-$(CONFIG_SMP) += smp.o # setup_profiling_timer def'd in ia64 obj-$(CONFIG_NET) += skbuff.o # until networking is up on ia64 endif +obj-$(CONFIG_SYSFS) += hypervisor_sysfs.o +obj-$(CONFIG_XEN_SYSFS) += xen_sysfs.o -- 2.30.2